-- GENERATED SPELL FOR [Frenzied Plaguehound] --


function spell0_8598(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_8598', 604, 1)
end

function Sorts_8598(pUnit, Event)
local choix_sorts_8598 = math.random(0, 0)
if choix_sorts_8598 == 0 then
pUnit:RegisterEvent('spell0_8598', 1, 1)
end
end

function mob8598_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8598', math.random(1500, 3000), 1)
end

function mob8598_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8598_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8598_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8598, 1, 'mob8598_Action')
RegisterUnitEvent(8598, 2, 'mob8598_Leave')
RegisterUnitEvent(8598, 3, 'mob8598_Kill')
RegisterUnitEvent(8598, 4, 'mob8598_Die')
